Note: Currently only Seagate Info supports the Business Calendar, Since Crystal Reports does not support the Business Calendar, if you are using this function in Crystal Reports, or if you have not specified a Business Calendar for your Seagate Info system, this function assumes everyday is a business day.
#days is a positive, whole number indicating the number of business days that you would like to know the dates for if you start counting from today.
NextNBusinessDays (x) returns an array of dates, indicating the next x number of business days as of and including the current date, based on the Business Calendar you have specified for your system.
You could pass a number of days to this function, and the function would return an array of dates indicating that number of business days as of the current day (according to the program's business calendar).
The following examples are applicable to both Basic and Crystal syntax:
Assuming the current date is Sept. 24, 1999, which is a Friday, and a Business Calendar specifies no holidays in the rest of September, and only Saturdays and Sundays are non
Returns an array of 5 dates, including Sept. 24, 27, 28, 29 and 30, 1999.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |